package cn.iocoder.yudao.module.system.controller.admin.auth.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Schema(description = "门户 - 新增租户 Request VO")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class IdsVo {

    @Schema(description = "租户名", requiredMode = Schema.RequiredMode.REQUIRED, example = "ceshi")
    @NotNull(message = "租户名不能为空")
    private String tenantName;

    @Schema(description = "过期时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime expireTime;

}